
function acceptDownload(){
	window.open('acceptDownload');
}

function acceptUpload(){
	if(document.getElementById("CompName").value=="" || document.getElementById("CallNo").value==""){
		alert("请填写完整信息！");
	}
	else{
	if(compId==""){
	document.getElementById("formID").action="addAccept";
	}else{
		document.getElementById("formID").action="updateAccept?compId="+compId;
	}
    $("#formID").submit();
	}
}